#pragma once
#include "object.h"
#include "Vertex.h"
#include "Shaders.h"
#include "Camera.h"
class Triangle :
	public Object
{
private:
	void move();
	void rotate();
public:
	void moveLeft();
	void moveRight();
	void moveForward();
	void moveBackward();
	void RotateLeft();
	void RotateRight();
	void RotateUp();
	void RotateDown();
	void Draw( ESContext *esContext , Shaders* myShaders, Camera* camera);
	void Update ( ESContext *esContext, float deltaTime );
	Triangle(void);
	~Triangle(void);

	Vertex vertices[3];
};

